package com.zzw.design.chain;

/**
 * @author zzw
 * @see
 * @since 2018/3/26
 */
public class ChainTest {
    public static void main(String[] args) {
        Request request = new Request.Builder().setName("张三").setDays(5)
                .setReason("事假").build();
        ChainOfResponsibilityClient client = new ChainOfResponsibilityClient();
        Result result = client.execute(request);

        System.out.println("结果：" + result.toString());
    }
}
